//
//  LeftRestauranTableViewCell.m
//  Park
//
//  Created by 123456 on 2017/12/5.
//  Copyright © 2017年 YTYangK. All rights reserved.
//

#import "LeftRestaurantTableViewCell.h"

@implementation LeftRestaurantTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.selectionStyle = UITableViewCellSelectionStyleNone;

    self.name.highlightedTextColor = RGB(255, 192, 1, 1.0);
    self.name.numberOfLines = 0;


    
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
    
    self.contentView.backgroundColor = selected ? [UIColor whiteColor] : RGB(239, 239, 244, 1);
    self.highlighted = selected;
    self.name.highlighted = selected;
    self.yellowView.hidden = !selected;
}

@end
